package org.batatasframework.web.element;

import org.batatasframework.web.HtmlRenderHelper;


public class HtmlAttribute {
	
	private String id;
	private String name;
	private Object style;
	private String title;
	private String css;
	
	public void parseAttribute(StringBuilder html){
		HtmlRenderHelper.attribute(html, "id", id, false);
		HtmlRenderHelper.attribute(html, "name", name, false);
		HtmlRenderHelper.attribute(html, "style", style, false);
		HtmlRenderHelper.attribute(html, "title", title, false);
		HtmlRenderHelper.attribute(html, "class", css, false);
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Object getStyle() {
		return style;
	}
	public void setStyle(Object style) {
		this.style = style;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}

	public String getCss() {
		return css;
	}

	public void setCss(String css) {
		this.css = css;
	}
}
